package com.fay.designPattern.applications.darklaunch;

import lombok.Getter;

import java.util.List;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/4/28 16:38
 * @Version 1.0
 */
public class DarkRuleConfig {
    private List<DarkFeatureConfig> features;

    public List<DarkFeatureConfig> getFeatures() {
        return this.features;
    }

    public void setFeatures(List<DarkFeatureConfig> features) {
        this.features = features;
    }

    @Getter
    public static class DarkFeatureConfig {
        private String key;
        private Boolean enabled;
        private String rule;
    }
}
